package net.zjitc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * @auther 郭梦婷
 * @create 2022-05-30 21:34:03
 * @describe 实体类
 */
@TableName("mycompany")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="Mycompany对象", description="")
@Data
public class Mycompany implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "我关注的企业id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "企业id")
    @TableField("companyid")
    private String companyid;

    @ApiModelProperty(value = "用户id")
    @TableField("username")
    private String username;



}